<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="<?php echo CHtml::encode($this->pageTitle) . ',' . CHtml::encode(Yii::app()->name); ?>" />
        <meta name="description" content="<?php echo CHtml::encode($this->pageTitle) . ',' . CHtml::encode(Yii::app()->name); ?>" />
        <title><?php echo CHtml::encode($this->pageTitle) . ' - ' . CHtml::encode(Yii::app()->name); ?></title>
    </head>
    <body id="<?php echo $this->action->id; ?>">
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>
        <div id="messagelayer"></div>
        <div class="wp">
            <div class="login_links">
                <div class="z logo cl">
                    <?php echo CHtml::link('<img src="' . Yii::app()->request->baseUrl . '/images/logo2.png" align="absmiddle"/>', array('site/index'), array('class' => 'z')); ?>
                </div>
                <div class="y links"><a href="<?php echo $this->createUrl('site/index'); ?>">首页</a><a href="<?php echo $this->createUrl('site/register'); ?>" <?php if ($this->action->id == 'register') { ?>class="on"<?php } ?>>注册</a><a href="<?php echo $this->createUrl('site/login'); ?>" <?php if ($this->action->id == 'login') { ?>class="on"<?php } ?>>登录</a><a href="<?php echo $this->createUrl('about/company'); ?>">关于灵动生活</a></div>
            </div>